package palms.authserver;

public class AuthServer {

	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		AuthLogic myLogic = new AuthLogic();
		
		System.out.println("####");
		System.out.println("Authentication Server is online.");
		System.out.println("####");
		System.out.println("->Starting [KAS]...");
		KerberosAS as = new KerberosAS(myLogic);
		Thread tas = new Thread(as);
		tas.start();
		System.out.println("->Starting [KTGS]...");
		KerberosTGS tgs = new KerberosTGS(myLogic);
		Thread ttgs = new Thread(tgs);
		ttgs.start();
		
	}

}

